<template>
  <div>
    <van-tabbar v-model="active" active-color="#ff5644">
      <van-tabbar-item replace to="/" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item replace to="/shop" icon="search">商城</van-tabbar-item>
      <van-tabbar-item replace to="/life" icon="friends-o"
        >生活服务</van-tabbar-item
      >
      <van-tabbar-item replace to="/mine" icon="setting-o"
        >我的</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "BottomNav",
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style>
</style>